package com.cetcs.kmga.dataManager.dao.hbase;

import com.cetcs.kmga.common.Page;
import com.google.common.collect.Lists;
import org.codehaus.jackson.annotate.JsonIgnore;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 日志类
 *
 * @author xutao
 * @version V1.0 创建时间：2017-09-26 15:04
 *          Copyright 2017 by CETC
 */
public class LogPage extends Page implements Serializable {


    /**
     * rowKey的MD5码
     */
    @JsonIgnore
    private String logQueryKey;

    /**
     * 查询页面类型
     */
    private String pageType;
    /**
     * 数据库字段
     */
    @JsonIgnore
    private List<List<String>> columnArr;

    /**
     * 查询的时间
     */
    private Date queryTime;

    /**
     * 当前查询的用户名字
     */
    @JsonIgnore
    private String queryUserName;

    /**
     * 当前查询的用户Id
     */
    @JsonIgnore
    private Integer queryUserId;

    private List<Integer> display = Lists.newArrayList( );

    private List<String> tableHead = Lists.newArrayList( );


    public String getQueryUserName() {
        return queryUserName;
    }

    public void setQueryUserName(String queryUserName) {
        this.queryUserName = queryUserName;
    }

    public Integer getQueryUserId() {
        return queryUserId;
    }

    public void setQueryUserId(Integer queryUserId) {
        this.queryUserId = queryUserId;
    }

    public String getPageType() {
        return pageType;
    }

    public void setPageType(String pageType) {
        this.pageType = pageType;
    }

    public List<List<String>> getColumnArr() {
        return columnArr;
    }

    public void setColumnArr(List<List<String>> columnArr) {
        this.columnArr = columnArr;
    }

    public String getLogQueryKey() {
        return logQueryKey;
    }

    public void setLogQueryKey(String logQueryKey) {
        this.logQueryKey = logQueryKey;
    }

    public List<Integer> getDisplay() {
        return display;
    }

    public void setDisplay(List<Integer> display) {
        this.display = display;
    }

    public List<String> getTableHead() {
        return tableHead;
    }

    public void setTableHead(List<String> tableHead) {
        this.tableHead = tableHead;
    }

    public Date getQueryTime() {
        return queryTime;
    }

    public void setQueryTime(Date queryTime) {
        this.queryTime = queryTime;
    }
}
